﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true" CodeFile="Capnhathocsinh.aspx.cs" Inherits="Capnhathocsinh" %>

<%@ Register src="Controls/ucLeftgiaovien.ascx" tagname="ucLeftgiaovien" tagprefix="uc1" %>
<%@ Register src="Controls/ucToprightphuhuynh.ascx" tagname="ucToprightphuhuynh" tagprefix="uc2" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="Maincontent" Runat="Server">
    <div class="left-incontent">
        
        <uc1:ucLeftgiaovien ID="ucLeftgiaovien1" runat="server" />
        
    </div>
    <div class="right-incontent">
        <uc2:ucToprightphuhuynh ID="ucToprightphuhuynh1" runat="server" />
        <fieldset>
                <legend>DANH SÁCH HỌC SINH</legend><br />
                    <asp:GridView ID="gvdshs" CssClass="general" runat="server" AllowPaging="True" 
                            AutoGenerateColumns="False" Width="100%" 
                    onpageindexchanging="gvdshs_PageIndexChanging" 
                    onrowcancelingedit="gvdshs_RowCancelingEdit" onrowediting="gvdshs_RowEditing" 
                    onrowupdating="gvdshs_RowUpdating" onrowdatabound="gvdshs_RowDataBound">
                        <Columns>
                            <asp:BoundField DataField="id" HeaderText="ID" ReadOnly="True">
                            <HeaderStyle Width="5%" />
                            <ItemStyle HorizontalAlign="Center" Width="5%" />
                            </asp:BoundField>
                            <asp:BoundField DataField="fullname" HeaderText="Họ Tên" ReadOnly="True">
                            <HeaderStyle HorizontalAlign="Left" Width="25%" />
                            <ItemStyle HorizontalAlign="Left" Width="25%" />
                            </asp:BoundField>
                            <asp:BoundField DataField="height" HeaderText="Chiều Cao">
                            <HeaderStyle Width="10%" />
                            <ItemStyle HorizontalAlign="Center" Width="10%" />
                            </asp:BoundField>
                            <asp:BoundField DataField="weight" HeaderText="Cân Nặng">
                            <HeaderStyle Width="10%" />
                            <ItemStyle HorizontalAlign="Center" Width="10%" />
                            </asp:BoundField>
                            <asp:BoundField DataField="healthy" HeaderText="Sức Khỏe">
                            <HeaderStyle HorizontalAlign="Left" Width="40%" />
                            <ItemStyle Width="40%" />
                            </asp:BoundField>
                            <asp:CommandField ButtonType="Image" CancelImageUrl="~/images/cancel.png" 
                                EditImageUrl="~/images/edit.png" HeaderText="Cập Nhật" ShowEditButton="True" 
                                UpdateImageUrl="~/images/save.png">
                            <HeaderStyle Width="15%" />
                            <ItemStyle HorizontalAlign="Center" Width="15%" />
                            </asp:CommandField>
                        </Columns>
                    </asp:GridView>
        </fieldset>
    </div>
    
</asp:Content>

